package cn.com.thinker.core.dao.jpa.hibernate;

import java.io.Serializable;

import org.hibernate.HibernateException;
import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.id.IdentifierGenerator;

//import com.baomidou.mybatisplus.toolkit.IdWorker;
//
//public class Sequence implements IdentifierGenerator {
//
//	@Override
//	public Serializable generate(SessionImplementor session, Object object) throws HibernateException {
//		return IdWorker.getId();
//	}
//
//}
